package com.spring.demo.core.service;

import java.io.IOException;

import org.springframework.oxm.XmlMappingException;

import com.spring.demo.core.entity.BaseEntity;

/**
 * oxm 映射 service
 * 
 * @author sean
 * 
 */
public interface IOxmConverter {

	void saveObject(BaseEntity o) throws XmlMappingException, IOException;

	<T> T getById(Long id, Class<T> c) throws XmlMappingException, IOException;
}
